import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:share_fit/app/helper/ext/tr_ext.dart';
import 'package:share_fit/generated/locales.g.dart';

import 'logic.dart';

class BloodPressurePage extends StatelessWidget {
  BloodPressurePage({Key? key}) : super(key: key);

  final logic = Get.find<BloodPressureLogic>();
  final state = Get.find<BloodPressureLogic>().state;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFFF5F9FC),
      appBar: AppBar(
        leading: GestureDetector(
          onTap: () => Get.back(),
          child: Container(
            alignment: Alignment.center,
            child: Image.asset('assets/images/home/back_btn.png', width: 45.w, height: 45.h),
          ),
        ),
      ),
      body: Center(
        child: Text(LocaleKeys.widgets_blood_pressure.ts),
      ), //此处为本例将要展示的页面
    );
  }
}
